import {Link,Outlet} from 'react-router-dom'
import './StudentPage.scss'

function StudentPage(){
    return(
        <div className="StudentPage">
            <nav className='student-nav'>
                <h1 className='student-logo'>
                    <span className='nav-liner-text'>讯飞</span>
                    教育
                </h1>
                <ul className='student-links'>
                    <li className='student-course-link'><Link to={'/student'}>我的课程</Link></li>
                    <li className='student-ai-link'><Link to={'/student/aichat'}>AI问答</Link></li>
                    <li className='student-info-link'><Link to={'/student/myinfo'}>我的信息</Link></li>
                </ul>
            </nav>
            <Outlet />
        </div>
    )
}

export default StudentPage;